{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "86de62ed",
   "metadata": {},
   "outputs": [],
   "source": [
    "from onekey_algo.custom.viz.transformer_shap import shap_viz\n",
    "\n",
    "model_path = r\"Transformer/Transformer/train/training-params-28.pth\" \n",
    "feature_path = r\"data/train.csv\"\n",
    "shap_viz(model_path=model_path, feature_path=feature_path, analysis_sample=None, save_dir='img/shap')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "cce91b55",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
